package com.yuyou.fn.crm.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 客户资源
 *
 */
@TableName(value = "crm_customer_resource")
public class CustomerResource implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<CustomerResource> createExample(){
		return new Example<CustomerResource>(CustomerResource.class);
	}

	/**  */
	@TableId(value = "customer_resource_id")
	private Long customerResourceId;

	/**  */
	@TableField(value = "market_import_id")
	private Long marketImportId;

	/**  */
	@TableField(value = "area_team_id")
	private Long areaTeamId;

	/** 区域组 */
	@TableField(value = "area_team_name")
	@ApiModelProperty("区域组")
	private String areaTeamName;

	/**  */
	@TableField(value = "campus_id")
	private Long campusId;

	/** 分配校区 */
	@TableField(value = "campus_name")
	@ApiModelProperty("分配校区")
	private String campusName;

	/**  */
	@TableField(value = "student_id")
	private Long studentId;

	/** 学生姓名 */
	@TableField(value = "student_name")
	@ApiModelProperty("学生姓名")
	private String studentName;

	/** 电话号码 */
	@TableField(value = "phone_no")
	@ApiModelProperty("电话号码")
	private String phoneNo;

	/** 0:未设置 1:男 2:女 */
	@ApiModelProperty(" 0:未设置 1:男 2:女 ")
	private Integer sex;

	/** 在读年级 */
	@TableField(value = "grade_id")
	@ApiModelProperty("在读年级id")
	private Long gradeId;

	/** 在读年级名称 */
	@TableField(value = "grade_name")
	@ApiModelProperty("在读年级名称")
	private String gradeName;

	/** 紧急程度 0:低 1:中 2:高 */
	@ApiModelProperty("紧急程度 0:低 1:中 2:高")
	private Integer priority;

	/** 项目活动名称 */
	@TableField(value = "project_name")
	@ApiModelProperty("项目活动名称")
	private String projectName;

	/** 项目活动日期 */
	@TableField(value = "project_time")
	@ApiModelProperty("项目活动日期")
	private Date projectTime;

	/**  */
	@TableField(value = "import_operator_id")
	private Long importOperatorId;

	/** 导入人 */
	@TableField(value = "import_operator_name")
	@ApiModelProperty("导入人")
	private String importOperatorName;

	/** 分配状态 0:否 1:是  */
	@TableField(value = "allo_status")
	@ApiModelProperty("分配状态 0:否 1:是")
	private Integer alloStatus;

	/**  */
	@TableField(value = "allo_operator_id")
	private Long alloOperatorId;

	/** 分配人 */
	@TableField(value = "allo_operator_name")
	@ApiModelProperty("分配人")
	private String alloOperatorName;

	/** 分配时间 */
	@TableField(value = "allo_create_time")
	@ApiModelProperty("分配时间")
	private Date alloCreateTime;

	/** 跟进状态 0:否 1:是  */
	@TableField(value = "follow_status")
	@ApiModelProperty("跟进状态 0:否 1:是")
	private Integer followStatus;

	/**  */
	@TableField(value = "follow_operator_id")
	private Long followOperatorId;

	/** 抢占人 */
	@TableField(value = "follow_operator_name")
	@ApiModelProperty("抢占人")
	private String followOperatorName;

	/** 抢占时间 */
	@TableField(value = "follow_create_time")
	@ApiModelProperty("抢占时间")
	private Date followCreateTime;

	/** 来源大类 */
	@TableField(value = "big_category")
	@ApiModelProperty("来源大类")
	private String bigCategory;

	/** 来源小类 */
	@TableField(value = "small_category")
	@ApiModelProperty("来源小类")
	private String smallCategory;

	/** 校验状态 0:未校验 1:校验通过 2:校验失败 */
	@TableField(value = "validate_status")
	@ApiModelProperty("校验状态 0:未校验 1:校验通过 2:校验失败")
	private Integer validateStatus;

	/** 校验信息 */
	@TableField(value = "validate_msg")
	private String validateMsg;

	/** 备注 */
	@ApiModelProperty("备注")
	private String remark;

	/** 回访状态 0:否 1:是 */
	@TableField(value = "visit_status")
	@ApiModelProperty("回访状态 0:否 1:是")
	private Integer visitStatus;

	/** 0 未超时，1超时 */
	@TableField(value = "timeout_status")
	@ApiModelProperty("0 未超时，1超时 ")
	private Integer timeoutStatus;

	/** 回访时间 */
	@TableField(value = "last_visit_time")
	@ApiModelProperty("回访时间")
	private Date lastVisitTime;

	/** 回访次数 */
	@TableField(value = "visit_times")
	@ApiModelProperty("回访次数")
	private Integer visitTimes;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/*0 不需再次回访， 1需再次回访*/
	@TableField(value = "again_visit_status")
	@ApiModelProperty("0 不需再次回访， 1需再次回访")
	private Integer againVisitStatus;

	/*再次开放回访时间*/
	@TableField(value = "again_visit_time")
	@ApiModelProperty("再次开放回访时间")
	private Date againVisitTime;

	@TableField(value = "customer_resource_type")
	private Integer customerResourceType;

	@TableField(value = "department_id")
	private Long departmentId;

	@TableField(value = "department_name")
	@ApiModelProperty("分配部门")
	private String departmentName;

	@TableField(value = "course_order_id")
	private Long courseOrderId;

	@TableField("first_reg_time")
	@ApiModelProperty("首次成交时间")
	private Date firstRegTime;

	@TableField("first_reg_amount")
	@ApiModelProperty("首次成交金额")
	private BigDecimal firstRegAmount;

	@TableField("first_reg_num")
	@ApiModelProperty("首次成交科数")
	private Integer firstRegNum;

	@TableField("counselor_ids")
	private String counselorIds;

	@TableField("counselor_names")
	@ApiModelProperty("咨询师名称")
	private String counselorNames;

	/*回收时间*/
	@TableField("recycle_time")
	@ApiModelProperty("回收时间")
	private Date recycleTime;

	/*如果通过活动产生，对应的活动报名id*/
	@TableField("activity_reg_situation_id")
	private Long activityRegSituationId;

	/*活动签到状态，0 为签到，1签到*/
	@TableField("sign_status")
	private Integer signStatus;


	public Long getCustomerResourceId() {
		return this.customerResourceId;
	}

	public void setCustomerResourceId(Long customerResourceId) {
		this.customerResourceId = customerResourceId;
	}

	public Long getMarketImportId() {
		return this.marketImportId;
	}

	public void setMarketImportId(Long marketImportId) {
		this.marketImportId = marketImportId;
	}

	public Long getAreaTeamId() {
		return this.areaTeamId;
	}

	public void setAreaTeamId(Long areaTeamId) {
		this.areaTeamId = areaTeamId;
	}

	public String getAreaTeamName() {
		return this.areaTeamName;
	}

	public void setAreaTeamName(String areaTeamName) {
		this.areaTeamName = areaTeamName;
	}

	public Long getCampusId() {
		return this.campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return this.campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return this.studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getPhoneNo() {
		return this.phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public String getGradeName() {
		return this.gradeName;
	}

	public void setGradeName(String gradeName) {
		this.gradeName = gradeName;
	}

	public Integer getPriority() {
		return this.priority;
	}

	public void setPriority(Integer priority) {
		this.priority = priority;
	}

	public String getProjectName() {
		return this.projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public Date getProjectTime() {
		return this.projectTime;
	}

	public void setProjectTime(Date projectTime) {
		this.projectTime = projectTime;
	}

	public Long getImportOperatorId() {
		return this.importOperatorId;
	}

	public void setImportOperatorId(Long importOperatorId) {
		this.importOperatorId = importOperatorId;
	}

	public String getImportOperatorName() {
		return this.importOperatorName;
	}

	public void setImportOperatorName(String importOperatorName) {
		this.importOperatorName = importOperatorName;
	}

	public Integer getAlloStatus() {
		return this.alloStatus;
	}

	public void setAlloStatus(Integer alloStatus) {
		this.alloStatus = alloStatus;
	}

	public Long getAlloOperatorId() {
		return this.alloOperatorId;
	}

	public void setAlloOperatorId(Long alloOperatorId) {
		this.alloOperatorId = alloOperatorId;
	}

	public String getAlloOperatorName() {
		return this.alloOperatorName;
	}

	public void setAlloOperatorName(String alloOperatorName) {
		this.alloOperatorName = alloOperatorName;
	}

	public Date getAlloCreateTime() {
		return this.alloCreateTime;
	}

	public void setAlloCreateTime(Date alloCreateTime) {
		this.alloCreateTime = alloCreateTime;
	}

	public Integer getFollowStatus() {
		return this.followStatus;
	}

	public void setFollowStatus(Integer followStatus) {
		this.followStatus = followStatus;
	}

	public Long getFollowOperatorId() {
		return this.followOperatorId;
	}

	public void setFollowOperatorId(Long followOperatorId) {
		this.followOperatorId = followOperatorId;
	}

	public String getFollowOperatorName() {
		return this.followOperatorName;
	}

	public void setFollowOperatorName(String followOperatorName) {
		this.followOperatorName = followOperatorName;
	}

	public Date getFollowCreateTime() {
		return this.followCreateTime;
	}

	public void setFollowCreateTime(Date followCreateTime) {
		this.followCreateTime = followCreateTime;
	}

	public String getBigCategory() {
		return this.bigCategory;
	}

	public void setBigCategory(String bigCategory) {
		this.bigCategory = bigCategory;
	}

	public String getSmallCategory() {
		return this.smallCategory;
	}

	public void setSmallCategory(String smallCategory) {
		this.smallCategory = smallCategory;
	}

	public Integer getValidateStatus() {
		return this.validateStatus;
	}

	public void setValidateStatus(Integer validateStatus) {
		this.validateStatus = validateStatus;
	}

	public String getValidateMsg() {
		return this.validateMsg;
	}

	public void setValidateMsg(String validateMsg) {
		this.validateMsg = validateMsg;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getVisitStatus() {
		return this.visitStatus;
	}

	public void setVisitStatus(Integer visitStatus) {
		this.visitStatus = visitStatus;
	}

	public Date getLastVisitTime() {
		return this.lastVisitTime;
	}

	public void setLastVisitTime(Date lastVisitTime) {
		this.lastVisitTime = lastVisitTime;
	}

	public Integer getVisitTimes() {
		return this.visitTimes;
	}

	public void setVisitTimes(Integer visitTimes) {
		this.visitTimes = visitTimes;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getTimeoutStatus() {
		return timeoutStatus;
	}

	public void setTimeoutStatus(Integer timeoutStatus) {
		this.timeoutStatus = timeoutStatus;
	}

	public Integer getAgainVisitStatus() {
		return againVisitStatus;
	}

	public void setAgainVisitStatus(Integer againVisitStatus) {
		this.againVisitStatus = againVisitStatus;
	}

	public Date getAgainVisitTime() {
		return againVisitTime;
	}

	public void setAgainVisitTime(Date againVisitTime) {
		this.againVisitTime = againVisitTime;
	}

	public Integer getCustomerResourceType() {
		return customerResourceType;
	}

	public void setCustomerResourceType(Integer customerResourceType) {
		this.customerResourceType = customerResourceType;
	}

	public Long getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public Long getCourseOrderId() {
		return courseOrderId;
	}

	public void setCourseOrderId(Long courseOrderId) {
		this.courseOrderId = courseOrderId;
	}

	public Date getFirstRegTime() {
		return firstRegTime;
	}

	public void setFirstRegTime(Date firstRegTime) {
		this.firstRegTime = firstRegTime;
	}

	public BigDecimal getFirstRegAmount() {
		return firstRegAmount;
	}

	public void setFirstRegAmount(BigDecimal firstRegAmount) {
		this.firstRegAmount = firstRegAmount;
	}

	public Integer getFirstRegNum() {
		return firstRegNum;
	}

	public void setFirstRegNum(Integer firstRegNum) {
		this.firstRegNum = firstRegNum;
	}

	public String getCounselorIds() {
		return counselorIds;
	}

	public void setCounselorIds(String counselorIds) {
		this.counselorIds = counselorIds;
	}

	public String getCounselorNames() {
		return counselorNames;
	}

	public void setCounselorNames(String counselorNames) {
		this.counselorNames = counselorNames;
	}

	public Date getRecycleTime() {
		return recycleTime;
	}

	public void setRecycleTime(Date recycleTime) {
		this.recycleTime = recycleTime;
	}

	public Long getActivityRegSituationId() {
		return activityRegSituationId;
	}

	public void setActivityRegSituationId(Long activityRegSituationId) {
		this.activityRegSituationId = activityRegSituationId;
	}

	public Integer getSignStatus() {
		return signStatus;
	}

	public void setSignStatus(Integer signStatus) {
		this.signStatus = signStatus;
	}
}
